summaryrefslogtreecommitdiff
path: root/src/app/profile/[username]/page.tsx
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-09 15:20:56 +0300
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-09 15:20:56 +0300
commitd3bceed42caca6ac8c39ebe0c929f7d3c13d2bfa (patch)
tree3f641db6d83d2de03f972e11761b95adc7359317 /src/app/profile/[username]/page.tsx
parent3b68dee3f51b54cb452641336f3750574441f9bb (diff)
update settings
Diffstat (limited to 'src/app/profile/[username]/page.tsx')
-rw-r--r--src/app/profile/[username]/page.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/app/profile/[username]/page.tsx b/src/app/profile/[username]/page.tsx
index cad11bb..ea13b36 100644
--- a/src/app/profile/[username]/page.tsx
+++ b/src/app/profile/[username]/page.tsx
@@ -1,11 +1,10 @@
-import Image from 'next/image';
-import { Button } from '@/components/ui';
+import AccountButton from '@/components/settings/AccountButton';
import { getUserByUsername } from '@/lib/api/user';
import { User } from '@/lib/contexts/Auth.context';
+
interface ProfilePageProps {
params: Promise<{ username: string }>;
}
-
export default async function Profile({ params }: ProfilePageProps) {
const { username } = await params;
@@ -76,7 +75,7 @@ export default async function Profile({ params }: ProfilePageProps) {
</div>
</div>
<div className="flex flex-row space-between flex-start gap-1.25 w-full h-[42px]"></div>
- <Button>Управление аккаунтом</Button>
+ <AccountButton />
</div>
</>
);